import { ethers } from 'ethers'

export const getUserUsdzBalance = async ()=>{
    const contractAddress = "0xdCEeeB720EbE7Addf37E2d2f4Df614eE3C9C844E";
    const provider = new ethers.providers.JsonRpcProvider('https://rpc.zeuschain.ai')
    const balance = await provider.getBalance(contractAddress)
    return parseFloat(ethers.utils.formatUnits(balance, 18)).toFixed(6)
}